package com.git.smp.dao;

import java.util.List;

import com.git.smp.entity.RequireApply;
import com.git.smp.entity.RequireApplyExtend;
import com.git.smp.entity.RequirementBatch;

public interface RequireApplyMapper {
    int deleteByPrimaryKey(String id);

    int insert(RequireApply record);

    int insertSelective(RequireApply record);

    RequireApply selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(RequireApply record);

    int updateByPrimaryKey(RequireApply record);
    
    List<RequireApply> getDemandByPage(RequireApplyExtend requireApplyExtend);
    
    List<RequireApply> getDemandCalendar(RequireApply requireApply);
    
    int getId();
    
    List<RequireApply> getWorkOrderInfoByQmsNo(RequireApply requireApply);
    
    int updateStatusByID (RequireApply requireApply);
     
}